import os
import allure
import pytest
import sys
curPath=os.path.abspath(os.path.dirname(__file__))
rootPath=os.path.split(curPath)[0]
sys.path.append(rootPath)


if __name__ == '__main__':
    print('124144')
    pytest.main(['-vs','./test_case/test_send_request.py','--clean-alluredir','--alluredir=./allure-results','--html=./report/report.html'])
    os.system("allure generate ./allure-results/ -o ./report1/ --clean")